package com.example.mapper;

import com.example.domain.po.Roles;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RolesMapper {
    int deleteByPrimaryKey(Integer roleId);

    int insert(Roles record);

    int insertSelective(Roles record);

    Roles selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(Roles record);

    int updateByPrimaryKey(Roles record);
    //根据角色id查询角色名称
    List<Roles> batchGetRoleByRoleId(List<Integer> roleIds);
}